<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_vcmp.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">wb32l003_vcmp.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>This file contains all the functions prototypes for the VCMP firmware library.  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;wb32l003.h&quot;</code><br />
</div>
<p><a href="wb32l003__vcmp_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_v_c_m_p___init_type_def.html">VCMP_InitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">VCMP Init structure definition  <a href="struct_v_c_m_p___init_type_def.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ga7beb210cc9b73b7402f093d2330a2b5c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___enable__definitions.html#ga7beb210cc9b73b7402f093d2330a2b5c">VCMP_VCAPDIV_ENABLE</a>&#160;&#160;&#160;VCMP_CR0_VCAPDIV_EN</td></tr>
<tr class="separator:ga7beb210cc9b73b7402f093d2330a2b5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga26f7f38a992fab8e4587758404b4674e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___enable__definitions.html#ga26f7f38a992fab8e4587758404b4674e">VCMP_VCAPDIV_DISABLE</a>&#160;&#160;&#160;(0X0U)</td></tr>
<tr class="separator:ga26f7f38a992fab8e4587758404b4674e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabb7a19efc162d886712d6dcde694a45"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___enable__definitions.html#gaabb7a19efc162d886712d6dcde694a45">VCMP_INT_ENABLE</a>&#160;&#160;&#160;VCMP_CR1_INT_EN</td></tr>
<tr class="separator:gaabb7a19efc162d886712d6dcde694a45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10850c836adb03d8431677d6a26e03eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___enable__definitions.html#ga10850c836adb03d8431677d6a26e03eb">VCMP_INT_DISABLE</a>&#160;&#160;&#160;(0X0U)</td></tr>
<tr class="separator:ga10850c836adb03d8431677d6a26e03eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bfc5f4a7a2c1c319e3919d9a131af69"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___enable__definitions.html#ga0bfc5f4a7a2c1c319e3919d9a131af69">VCMP_ENABLE</a>&#160;&#160;&#160;VCMP_CR1_VCEN</td></tr>
<tr class="separator:ga0bfc5f4a7a2c1c319e3919d9a131af69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14f637441e777b9f0149a71f40492124"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___enable__definitions.html#ga14f637441e777b9f0149a71f40492124">VCMP_DISABLE</a>&#160;&#160;&#160;(0X0U)</td></tr>
<tr class="separator:ga14f637441e777b9f0149a71f40492124"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf73a9242291a37ae5238515d1d3033b6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___v_c_a_p___division___slection.html#gaf73a9242291a37ae5238515d1d3033b6">VCMP_1P4_VCAPDIV</a>&#160;&#160;&#160;(0X00U)</td></tr>
<tr class="separator:gaf73a9242291a37ae5238515d1d3033b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5723c9b69e5615de2cf001faa0548dbc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___v_c_a_p___division___slection.html#ga5723c9b69e5615de2cf001faa0548dbc">VCMP_2P4_VCAPDIV</a>&#160;&#160;&#160;(0x01U)</td></tr>
<tr class="separator:ga5723c9b69e5615de2cf001faa0548dbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fb3c2c2f1328ce9f52961ddb3001ed3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___v_c_a_p___division___slection.html#ga5fb3c2c2f1328ce9f52961ddb3001ed3">VCMP_3P4_VCAPDIV</a>&#160;&#160;&#160;(0x02U)</td></tr>
<tr class="separator:ga5fb3c2c2f1328ce9f52961ddb3001ed3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga86ada3cc86b9a6510c29229cd5cf6fad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___v_c_a_p___division___slection.html#ga86ada3cc86b9a6510c29229cd5cf6fad">VCMP_4P4_VCAPDIV</a>&#160;&#160;&#160;(0x03U)</td></tr>
<tr class="separator:ga86ada3cc86b9a6510c29229cd5cf6fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad266411ba24f9dadb5358ca629d32fcd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_VCMP_VCAPDIV</b>(VCMP_VCAPDIV)</td></tr>
<tr class="separator:gad266411ba24f9dadb5358ca629d32fcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee3bbfee8fef9b373ab2e742f5a13f45"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_INPUT_0</b>&#160;&#160;&#160;(0X00U)</td></tr>
<tr class="separator:gaee3bbfee8fef9b373ab2e742f5a13f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1c2b448b5e9fc163880566cf97b3143"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_INPUT_1</b>&#160;&#160;&#160;(0X01U)</td></tr>
<tr class="separator:gac1c2b448b5e9fc163880566cf97b3143"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6330dc637ad5a268d41bb8cb34bc04bc"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_INPUT_2</b>&#160;&#160;&#160;(0X02U)</td></tr>
<tr class="separator:ga6330dc637ad5a268d41bb8cb34bc04bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0abc3fe67ecbb6c6f68527608c9d5eb"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_INPUT_VCAPDIV</b>&#160;&#160;&#160;(0X03U)</td></tr>
<tr class="separator:gab0abc3fe67ecbb6c6f68527608c9d5eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8422f0210990628f678d221d52e83479"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_VCMP_INPUT</b>(VCMP_INPUT)</td></tr>
<tr class="separator:ga8422f0210990628f678d221d52e83479"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c148678c6bd4843e4eccd91eee44541"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___filter___function___selection.html#ga1c148678c6bd4843e4eccd91eee44541">VCMP_FILTER_ENABLE</a>&#160;&#160;&#160;VCMP_CR1_FLTEN</td></tr>
<tr class="separator:ga1c148678c6bd4843e4eccd91eee44541"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa23dd5cf99e8bfdba359ed17046b744d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___filter___function___selection.html#gaa23dd5cf99e8bfdba359ed17046b744d">VCMP_FILTER_DISABLE</a>&#160;&#160;&#160;(0X0U)</td></tr>
<tr class="separator:gaa23dd5cf99e8bfdba359ed17046b744d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b5150c553758bf8fb46946932e96406"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_VCMP_FILTER_ENABLE</b>(FILTER)&#160;&#160;&#160;((FILTER == <a class="el" href="group___v_c_m_p___filter___function___selection.html#ga1c148678c6bd4843e4eccd91eee44541">VCMP_FILTER_ENABLE</a>) || (FILTER == <a class="el" href="group___v_c_m_p___filter___function___selection.html#gaa23dd5cf99e8bfdba359ed17046b744d">VCMP_FILTER_DISABLE</a>))</td></tr>
<tr class="separator:ga0b5150c553758bf8fb46946932e96406"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga558e3088aa652c4559f052c791f32455"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_VCMP_FILTER_NUM</b>(FILTER_NUM)&#160;&#160;&#160;((FILTER_NUM &gt;= 0U) &amp;&amp; (FILTER_NUM &lt;= 0XFFFFU))</td></tr>
<tr class="separator:ga558e3088aa652c4559f052c791f32455"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6564310d3486928b83a43421410a5348"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___interrupt___trigger___selection.html#ga6564310d3486928b83a43421410a5348">VCMP_HIGH_INT</a>&#160;&#160;&#160;VCMP_CR1_HIGHINTEN</td></tr>
<tr class="separator:ga6564310d3486928b83a43421410a5348"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga968aadca7c332b8b1025cd76d8596730"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___interrupt___trigger___selection.html#ga968aadca7c332b8b1025cd76d8596730">VCMP_RISE_INT</a>&#160;&#160;&#160;VCMP_CR1_RISEINTEN</td></tr>
<tr class="separator:ga968aadca7c332b8b1025cd76d8596730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac10b77de19a6217986b4c2494d7cd473"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___interrupt___trigger___selection.html#gac10b77de19a6217986b4c2494d7cd473">VCMP_FALL_INT</a>&#160;&#160;&#160;VCMP_CR1_FALLINTEN</td></tr>
<tr class="separator:gac10b77de19a6217986b4c2494d7cd473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe028dfbe9fd7faa59c521a1252cfe6d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_INT_MASK</b>&#160;&#160;&#160;(<a class="el" href="group___v_c_m_p___interrupt___trigger___selection.html#ga6564310d3486928b83a43421410a5348">VCMP_HIGH_INT</a> | <a class="el" href="group___v_c_m_p___interrupt___trigger___selection.html#ga968aadca7c332b8b1025cd76d8596730">VCMP_RISE_INT</a> | <a class="el" href="group___v_c_m_p___interrupt___trigger___selection.html#gac10b77de19a6217986b4c2494d7cd473">VCMP_FALL_INT</a>)</td></tr>
<tr class="separator:gabe028dfbe9fd7faa59c521a1252cfe6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2b7cfc4320eeb4fa2ac4496ed33140e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_VCMP_INT</b>(VCMP_INT)</td></tr>
<tr class="separator:gaa2b7cfc4320eeb4fa2ac4496ed33140e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae27bd14978130c868c1503a5787b53d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___filter___clock___selection.html#gae27bd14978130c868c1503a5787b53d8">VCMP_FILTER_CLK_NONE</a>&#160;&#160;&#160;(0X00U)</td></tr>
<tr class="separator:gae27bd14978130c868c1503a5787b53d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77ed804440b33bfd124540adc52589f6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___filter___clock___selection.html#ga77ed804440b33bfd124540adc52589f6">VCMP_FILTER_CLK_PCLK</a>&#160;&#160;&#160;(0X01U &lt;&lt; VCMP_CR1_VCMP_FLTCLK_SEL_Pos)</td></tr>
<tr class="separator:ga77ed804440b33bfd124540adc52589f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5bc9ad9ae62bb27db70c1ac8ea25221"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p___filter___clock___selection.html#gaf5bc9ad9ae62bb27db70c1ac8ea25221">VCMP_FILTER_CLK_LSI</a>&#160;&#160;&#160;(0X02U &lt;&lt; VCMP_CR1_VCMP_FLTCLK_SEL_Pos)</td></tr>
<tr class="separator:gaf5bc9ad9ae62bb27db70c1ac8ea25221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63dbe3ebd400d5b53bfe3a1e231e2b62"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_VCMP_FILTER_CLOCK</b>(FILTER_CLOCK)</td></tr>
<tr class="separator:ga63dbe3ebd400d5b53bfe3a1e231e2b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ebe0f87ea3e810f1e1cabb38efbdc15"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_INV_PAD</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_INV_PAD_Pos)</td></tr>
<tr class="separator:ga5ebe0f87ea3e810f1e1cabb38efbdc15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea4eb13746e4982fe095c5fb35d693a2"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_TIM1_BKE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_TIM1BKE_Pos)</td></tr>
<tr class="separator:gaea4eb13746e4982fe095c5fb35d693a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ba012654892af7de4bb719735477f31"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_TIM1CH4_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_TIM1CH4_EN_Pos)</td></tr>
<tr class="separator:ga2ba012654892af7de4bb719735477f31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63eead7a73a68d444c7bc67f7179f74d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_INV_TIM1CH4_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_INV_TIM1CH4_Pos)</td></tr>
<tr class="separator:ga63eead7a73a68d444c7bc67f7179f74d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3318397288c88d81c084741780ec20c2"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_TIM1CH3_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_TIM1CH3_EN_Pos)</td></tr>
<tr class="separator:ga3318397288c88d81c084741780ec20c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1401900e13e022929ad07687cba640bd"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_INV_TIM1CH3_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_INV_TIM1CH3_Pos)</td></tr>
<tr class="separator:ga1401900e13e022929ad07687cba640bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga490c19ea27f1324abaa4fe95dfe3b5e8"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_TIM1CH2_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_TIM1CH2_EN_Pos)</td></tr>
<tr class="separator:ga490c19ea27f1324abaa4fe95dfe3b5e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27b9c95b51e7d2a78ac238424b498777"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_INV_TIM1CH2_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_INV_TIM1CH2_Pos)</td></tr>
<tr class="separator:ga27b9c95b51e7d2a78ac238424b498777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac630c4f95e4690cca9f5e61c4addd9fa"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_TIM1CH1_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_TIM1CH1_EN_Pos)</td></tr>
<tr class="separator:gac630c4f95e4690cca9f5e61c4addd9fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4e010e364ce6c0e8ec0790bbe54c6bb"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_INV_TIM1CH1_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_INV_TIM1CH1_Pos)</td></tr>
<tr class="separator:gab4e010e364ce6c0e8ec0790bbe54c6bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0179dd83d8a60dda09d343dd924b30a"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_PCA_EXTCLK_EN</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_PCAECI_EN_Pos)</td></tr>
<tr class="separator:gab0179dd83d8a60dda09d343dd924b30a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01b9b2477cb773bcfa3a20c45e327e9b"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_PCA_CAP0_EN</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_PCACAP0_EN_Pos)</td></tr>
<tr class="separator:ga01b9b2477cb773bcfa3a20c45e327e9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2617eeddb693501d16c3d6534f9c4b61"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_INV_PCA</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_INV_PCA_Pos)</td></tr>
<tr class="separator:ga2617eeddb693501d16c3d6534f9c4b61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga643ee9036da42c1bdcabbd9590d29cab"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_LPTIM_EXTCLK_EN</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_LPTIMEXT_EN_Pos)</td></tr>
<tr class="separator:ga643ee9036da42c1bdcabbd9590d29cab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf59597cff73fe992c6ce0e84040753b7"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_LPTIM_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_LPTIM_EN_Pos)</td></tr>
<tr class="separator:gaf59597cff73fe992c6ce0e84040753b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20f4081eeb06c4e0e0892083deab3654"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_TIM11_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_TIM11_EN_Pos)</td></tr>
<tr class="separator:ga20f4081eeb06c4e0e0892083deab3654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf1b2259df99a73a6505f6e745564e9d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_TIM10_GATE</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_TIM10_EN_Pos)</td></tr>
<tr class="separator:gacf1b2259df99a73a6505f6e745564e9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae779528e08cd739995af1d72e7735002"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_INV_LPTIM_TIM10_11</b>&#160;&#160;&#160;(0x01 &lt;&lt; VCMP_OUTCFG_INV_TIMX_Pos)</td></tr>
<tr class="separator:gae779528e08cd739995af1d72e7735002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf9be3f24acf21c291f12a4ac07bc55eb"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>VCMP_OUTCFG_MSK</b>&#160;&#160;&#160;(0X7FFFFU)</td></tr>
<tr class="separator:gaf9be3f24acf21c291f12a4ac07bc55eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga95e835e8d3ba257d97e579a476740756"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_VCMP_OUTCFG</b>(OUTCFG)&#160;&#160;&#160;((OUTCFG &amp; VCMP_OUTCFG_MSK) != 0X0000U)</td></tr>
<tr class="separator:ga95e835e8d3ba257d97e579a476740756"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga2750a7067307af723197827a72f59109"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#ga2750a7067307af723197827a72f59109">VCMP_DeInit</a> (void)</td></tr>
<tr class="memdesc:ga2750a7067307af723197827a72f59109"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the VCMP peripheral.  <a href="group___v_c_m_p.html#ga2750a7067307af723197827a72f59109">更多...</a><br /></td></tr>
<tr class="separator:ga2750a7067307af723197827a72f59109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4740bab6a4cf05f57169470d78644f61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#ga4740bab6a4cf05f57169470d78644f61">VCMP_Init</a> (<a class="el" href="struct_v_c_m_p___init_type_def.html">VCMP_InitTypeDef</a> *InitStruct)</td></tr>
<tr class="memdesc:ga4740bab6a4cf05f57169470d78644f61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the VCMP according to the specified parameters in the VCMP_HandleTypeDef.  <a href="group___v_c_m_p.html#ga4740bab6a4cf05f57169470d78644f61">更多...</a><br /></td></tr>
<tr class="separator:ga4740bab6a4cf05f57169470d78644f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5bb6c09640e843eff45f1f30354244ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#ga5bb6c09640e843eff45f1f30354244ab">VCMP_ITConfig</a> (uint32_t Config, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga5bb6c09640e843eff45f1f30354244ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified VCMP interrupts.  <a href="group___v_c_m_p.html#ga5bb6c09640e843eff45f1f30354244ab">更多...</a><br /></td></tr>
<tr class="separator:ga5bb6c09640e843eff45f1f30354244ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2dd3467ddb8582348db1ab6ce18a65e7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#ga2dd3467ddb8582348db1ab6ce18a65e7">VCMP_ITCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga2dd3467ddb8582348db1ab6ce18a65e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables VCMP interrupt.  <a href="group___v_c_m_p.html#ga2dd3467ddb8582348db1ab6ce18a65e7">更多...</a><br /></td></tr>
<tr class="separator:ga2dd3467ddb8582348db1ab6ce18a65e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2102bab52f7ce939a1ffe149a16bdcfc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#ga2102bab52f7ce939a1ffe149a16bdcfc">VCMP_OutputConfig</a> (uint32_t Config, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga2102bab52f7ce939a1ffe149a16bdcfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified VCMP outputs.  <a href="group___v_c_m_p.html#ga2102bab52f7ce939a1ffe149a16bdcfc">更多...</a><br /></td></tr>
<tr class="separator:ga2102bab52f7ce939a1ffe149a16bdcfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab89951829fda48b7e324c77e7cbc7b79"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#gab89951829fda48b7e324c77e7cbc7b79">VCMP_GetFlagStatus</a> (void)</td></tr>
<tr class="memdesc:gab89951829fda48b7e324c77e7cbc7b79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether VCMP interrupt flag is set or reset.  <a href="group___v_c_m_p.html#gab89951829fda48b7e324c77e7cbc7b79">更多...</a><br /></td></tr>
<tr class="separator:gab89951829fda48b7e324c77e7cbc7b79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga915a1f495da6d34f7965a07196f9d8fd"><td class="memItemLeft" align="right" valign="top">ITStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#ga915a1f495da6d34f7965a07196f9d8fd">VCMP_GetITStatus</a> (void)</td></tr>
<tr class="memdesc:ga915a1f495da6d34f7965a07196f9d8fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether VCMP interrupt is set or reset.  <a href="group___v_c_m_p.html#ga915a1f495da6d34f7965a07196f9d8fd">更多...</a><br /></td></tr>
<tr class="separator:ga915a1f495da6d34f7965a07196f9d8fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa48a94e96a5fc72103e25584acc4efee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#gaa48a94e96a5fc72103e25584acc4efee">VCMP_ClearITPendingBit</a> (void)</td></tr>
<tr class="memdesc:gaa48a94e96a5fc72103e25584acc4efee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears VCMP interrupt.  <a href="group___v_c_m_p.html#gaa48a94e96a5fc72103e25584acc4efee">更多...</a><br /></td></tr>
<tr class="separator:gaa48a94e96a5fc72103e25584acc4efee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d058158bfacb57a69b34cbb43b1e694"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#ga3d058158bfacb57a69b34cbb43b1e694">VCMP_ClearFlag</a> (void)</td></tr>
<tr class="memdesc:ga3d058158bfacb57a69b34cbb43b1e694"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears VCMP interrupt flag.  <a href="group___v_c_m_p.html#ga3d058158bfacb57a69b34cbb43b1e694">更多...</a><br /></td></tr>
<tr class="separator:ga3d058158bfacb57a69b34cbb43b1e694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68af102a33c97367ca083baa8d3127c8"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#ga68af102a33c97367ca083baa8d3127c8">VCMP_GetOutputStatus</a> (void)</td></tr>
<tr class="memdesc:ga68af102a33c97367ca083baa8d3127c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks VCMP output is set or reset.  <a href="group___v_c_m_p.html#ga68af102a33c97367ca083baa8d3127c8">更多...</a><br /></td></tr>
<tr class="separator:ga68af102a33c97367ca083baa8d3127c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf76c5486734899fafa55dcef3f87dbb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___v_c_m_p.html#gabf76c5486734899fafa55dcef3f87dbb">VCMP_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:gabf76c5486734899fafa55dcef3f87dbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables VCMP peripheral(write access to VCMP_CR1 registers).  <a href="group___v_c_m_p.html#gabf76c5486734899fafa55dcef3f87dbb">更多...</a><br /></td></tr>
<tr class="separator:gabf76c5486734899fafa55dcef3f87dbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>This file contains all the functions prototypes for the VCMP firmware library. </p>
<dl class="section author"><dt>作者</dt><dd>Westberry Application Team </dd></dl>
<dl class="section version"><dt>版本</dt><dd>V0.0.3 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>12-April-2023 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
